package cn.gene.timeyan.pojo.article.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 鐢ㄦ埛鍒嗕韩鏂囩珷鐨勮?褰
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("arms_share")
public class Share implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "share_id", type = IdType.AUTO)
    private Long shareId;

    /**
     * 鍒嗕韩鑰匢D
     */
    private Long userId;

    /**
     * 甯栧瓙ID
     */
    private Long articleId;

    /**
     * 妯″潡ID
     */
    private Long moduleId;

    /**
     * 鍒嗕韩鏃堕棿
     */
    private Date shareTime;

    /**
     * 鍒嗕韩鍒扮殑骞冲彴
     */
    private String platform;

    /**
     * 鍒涘缓鏃堕棿
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 淇?敼鏃堕棿
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
